<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp"%>
<html>
	<head>
		<title>店长设置</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href="/css/modules.css" type="text/css"
			media="screen" />
		<link rel="stylesheet" href="/css/modules1.css" type="text/css"
			media="screen" />
		<script type='text/javascript' src="/js/jquery-1.4.2.min.js"></script>	
		<script type='text/javascript'>
		$(function(){
			$("#provincespan").load("/area/province!getProvince.action");
		});
		
		
		
		function loadCity(f){
			var provinceid=$(f).val();
			$("#cityspan").load("/area/province!getCity.action?provinceid='"+provinceid+"'");
			$("#regionspan").html("");
			$("#managerSelect").html("");
			if(provinceid!=0){
				$("#managerSelect").load("/UserManage!managerList.action?provinceid="+provinceid+"");
			}
		}
		
		function loadRegion(f){
			var cityid=$(f).val();
			$("#regionspan").load("/area/province!getRegion.action?cityid='"+cityid+"'");
			$("#psel").attr("name","");
			$("#managerSelect").html("");
			if(cityid!=0){
			$("#managerSelect").load("/UserManage!managerList.action?provinceid="+cityid+"");}
		}

		function zz(f){
			var regionid=$(f).val();
			if(regionid!=0){
			$("#managerSelect").html("");	
			$("#managerSelect").load("/UserManage!managerList.action?provinceid="+regionid+"");}
			$("#csel").attr("name","");
		}
		
		
		
		</script>	
	</head>
	<body style="background-color:transparent">
	<h2 class="jquery_tab_title">店长设置</h2>
	<div style="padding-top:20px;">
		<s:form action="OutletsAction!managerSet" method="post">
			<input type="hidden" name="outletsid" value="${id }"  />
			<table id="noborder_table"  border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td style="font-size:14px;">
						按区域选择店长：
					</td>
					<td id="areaSelect">
					<span id="provincespan"> </span>
					<span id="cityspan"> </span>
					<span id="regionspan"> </span>
					<span id="managerSelect"> </span>
				</td>
				</tr>

				<tr>
					<td colspan="2">
						<input type="submit" name="SYS_SET" value=" 确 定 " class="button">
					</td>
				</tr>
			</table>
		</s:form>
		</div>
	</body>
</html>